<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<body>
<!--<p th:each="videos:${videoList}" th:text="${videos.}"></p>-->
<h2><a class="btn btn-sm btn-success" th:href="@{/image/toaddimage}">添加视频</a> </h2>
<table class="table table-bordered table-striped table-hover table-condensed table-responsive text-center " >
    <thead>
    <tr class="success ">
        <th>图片编号:</th>
        <th>类型编号:</th>
        <th>管理员编号:</th>
        <th>用户编号:</th>
        <th>图片名称:</th>
        <th>图片地址:</th>
        <th>图片发布时间:</th>
        <th>图片状态:</th>
        <th>图片播放数量:</th>
        <th>图片点赞数量:</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <tr class="info" th:each="images:${imageList}">
        <td th:text="${images.getImage_id()}"></td>
        <td th:text="${images.getType_id()}"></td>
        <td th:text="${images.getManager_id()}"></td>
        <td th:text="${images.getUser_id()}"></td>
        <td th:text="${images.getImage_name()}"></td>
        <td th:text="${images.getImage_url()}"></td>
        <td th:text="${ #dates.format(images.getImage_time(),'yyyy年/MM月/dd日 HH:mm:ss')}"></td>
        <td th:text="${images.getImage_status()}"></td>
        <td th:text="${images.getImage_play()}"></td>
        <td th:text="${images.getImage_good()}"></td>
        <td>
            <!--                <a class="btn btn-sm btn-primary" th:href="@{/toUpdate/}+${emp.getId()}">编辑</a>-->
            <!--                <a class="btn btn-sm btn-danger" th:href="@{/delemp/}+${emp.getId()}">删除</a>-->
            <a class="btn btn-danger" th:href="@{/image/toupdateimage/}+${images.getImage_id()}">更改</a> |
            <a class="btn btn-danger" th:href="@{/image/del/}+${images.getImage_id()}">删除</a>

        </td>
    </tr>
    </tbody>
</table>
</body>
</html>